<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/defaultconf.mex");
require_once($GLOBALS['PAD'] . "Aplications/ReportModels/report.vars.php");

form_pr('frm_finactivity', '', '', 'post');
echo '<div class="title">Quadro de Actividade</div>
	<table width="100%"  border="0" align="center" cellpadding="3" cellspacing="1">
  <tr bgcolor="#D6DADC">
	<td>';
mn_field('date', 'ED', 'Tini', date("Y-m-01"), 'frm_finactivity', 10, '', '') . ' e ';
mn_field('date', 'ED', 'Tend', date("Y-m-d"), 'frm_finactivity', 10, '', '');
mn_field('button', 'ED', 'RPT_View', 'Por periodo', '', '', '', '" onclick="
		document.frm_finactivity.action=\'_response/call.php?get=Financeiro/chart_activity\';
		subform(\'frm_finactivity\',\'RPT_FinResults\');');
echo '</td><td>';
$FieldCountries = "Brasil;Paises de Leste#305,301,300;307";
mn_field('hselect', 'ED', 'Countries', '', $FieldCountries, 'Todos', 'false', '');
$FieldOrigens = "Lojas;Origens#1;2";
mn_field('hselect', 'ED', 'Origens', '', $FieldOrigens, '', '', '');
echo '</td>
 </tr>
 </table>';
echo '<div id="RPT_FinResults">';
include($GLOBALS['ROO'] . "Modules/Financeiro/chart_activity.php");
echo '</div>
	</form>';
?>